@(userForm: Form[User], msg: String)

@import helper._

@main("Change password") {
    
    @if(msg != null){<div class="alert alert-danger">@msg</div>}
    <h3>Change Password</h3>
    
    @form(controllers.user.routes.UserController.chgPsw()) {
        @inputText(userForm("email"), '_label -> "E-mail adress:")
        @inputPassword(userForm("password"), '_label -> "Old password:") 
        @inputPassword(userForm("newpassword"), '_label -> "New password:")
        @inputPassword(userForm("repassword"), '_label -> "Re-password:")
        <input class="btn btn-default btn-sm" type="submit" value="change">
        
    }

}